home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1996 / MacHack 1996.toast / Hacks / Hacks ’95 / Menu Controls / HackMenu.h < prev    next >
Encoding:
Text File  |  1995-06-24  |  1.1 KB  |  44 lines  |  [TEXT/MPS ]

  1. // HackMenu.h
  2. // Copyright © 1994-95 by Apple Computer, Inc. All rights reserved.
  3.  
  4. #ifndef __HACKMENU__
  5. #define __HACKMENU__
  6.  
  7. #ifndef __UTEAROFFMENUVIEW__
  8. #include "UTearOffMenuView.h"
  9. #endif
  10.  
  11. #ifndef __UVIEW__
  12. #include "UView.h"
  13. #endif
  14.  
  15. //--------------------------------------------------------------------------------------------------
  16. // CLASS THackMenu
  17. //--------------------------------------------------------------------------------------------------
  18. class THackMenu : public TTearOffMenuView
  19. {
  20.     MA_DECLARE_CLASS;
  21.  
  22.   public:
  23.     THackMenu();        // Constructor
  24.     void IHackMenu(ResNumber menuID, ResNumber windowID);
  25. };
  26.  
  27. //--------------------------------------------------------------------------------------------------
  28. // CLASS THackView
  29. //--------------------------------------------------------------------------------------------------
  30. class THackView : public TView
  31. {
  32.     MA_DECLARE_CLASS;
  33.  
  34.   public:
  35.     THackView();        // Constructor
  36.     virtual void DoEvent(EventNumber eventNumber,
  37.                          TEventHandler* source,
  38.                          TEvent* event); // override
  39. };
  40.  
  41. //----------------------------------------------------------------------------------------
  42.  
  43. #endif // __HACKMENU__
  44.